#ifndef COOLPOOL_SIMULATION_TIMEMEASURE_H_
#define COOLPOOL_SIMULATION_TIMEMEASURE_H_

#include <stdint.h>
#include <sys/timeb.h>

// Typical use of following functions:
// int32_t start = getMilliCount()
// ...
// code
// ...
/// int32_t ellapsed = getMilliSpan(start);


// Returns base time in milliseconds.
int32_t getMilliCount();

// Returns the time ellapsed from start time.
int32_t getMilliSpan(int32_t nTimeStart);

#endif
